package com.example.demo.controller;

import com.example.demo.dto.UserLoginDTO;
import com.example.demo.vo.UserLoginVO;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/login")

public class UserLoginController {
    @GetMapping("/msg")
    public String msg() {
        return "hello,你好";
    }


    @Operation(summary = "用户登录")
    @GetMapping("/msg2")
    public UserLoginDTO msg2(@RequestBody UserLoginVO userLoginVO) {

        return null;
    }
}
